﻿@using CashFlow.Db.Entity;
@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
    var shopInfo = ViewBag.ShopInfo as ShopInfoEntity;
    var userInfo = ViewBag.UserInfo as UserInfoEntity;
}

<style type="text/css">
    .shopInfo td {
        padding: 5px;
        font-size: 16px;
    }
</style>
<table class="shopInfo">
    <tr>
        <td align="right">店铺名称:</td>
        <td><label>@shopInfo.Name</label></td>
    </tr>
    <tr>
        <td align="right">店铺编号:</td>
        <td><label>@shopInfo.ShopNo</label></td>
    </tr>
    <tr>
        <td align="right">店长:</td>
        <td><label>@userInfo.Name</label></td>
    </tr>
    <tr>
        <td align="right">成立时间:</td>
        <td><label>@shopInfo.CreateTime.ToString("yyyy-MM-dd HH:mm:ss")</label></td>
    </tr>
    <tr>
        <td align="right">我的架构:</td>
        <td>
            <button type="button" id="btn-ViewUserStructure" class="layui-btn layui-btn-sm">
                <i class="layui-icon layui-icon-search"></i>查 看
            </button>
        </td>
    </tr>
</table>

<script type="text/html" id="ViewUserStructureDlg">
    <form class="layui-form" style="padding: 10px;">
        <div></div>
    </form>
</script>

<input type="hidden" id="hdShopManagerUserId" value="@shopInfo.ShopManagerUserId" />
<script type="text/javascript" src="~/Static/Js/shop.js?rand=01"></script>